<ion-view title="我的信息" hide-nav-bar="isdisabled"> 
<ion-content>
<div class="list"
	style="box-shadow: 0px 5px 5px #888888; margin-bottom: 20px; padding: 10px 0; background-color: #f2f2f2;">

	<div class="row">
		<div class="col col-50">用户名：{{ userinfo.username }}</div>
		<div class="col col-50">部门：{{userinfo.department}}</div>
	</div>

</div>

<div class="list">
	<label class="item item-input"> 
		<span class="input-label">电话</span>
		<input type="text" placeholder="电话" ng-model="formData.phone"
		value="{{userinfo.phone}}">
	</label> 
	<label class="item item-input"> 
		<span class="input-label">手机</span>
		<input type="text" placeholder="手机" ng-model="formData.mobile"
		value="{{userinfo.mobile}}">
	</label> 
	<label class="item item-input"> 
		<span class="input-label">邮件</span>
		<input type="text" placeholder="邮件" ng-model="formData.email"
		value="{{userinfo.email}}">
	</label> 
	<label class="item item-input"> 
		<span class="input-label">原密码</span>
		<input type="password" class="form-control" placeholder="原密码"
		ng-model="formData.opwd">
	</label> 
	<label class="item item-input"> 
		<span class="input-label">新密码</span>
		<input type="password" class="form-control" placeholder="新密码"
		ng-model="formData.npwd">
	</label> 
	<label class="item item-input"> 
		<span class="input-label">确认新密码</span>
		<input type="password" class="form-control" placeholder="确认新密码"
		ng-model="formData.cnpwd">
	</label>

	<div class="padding">
		<button class="button button-block button-royal" ng-click='saveUserInfo()'>提交</button>
	</div>

</div>

</ion-content> 
<div class="tabs-icon-top tabs-bottom tabs-positive">
      <div class="tabs">
        <a class="tab-item " href="#/main"  ng-disabled="isdisabled">
          <i class="icon ion-ios-bookmarks"></i>
          自助服务
        </a>
        <a class="tab-item " href="#/main-it" ng-show="usertype=='1'"  ng-disabled="isdisabled">
          <i class="icon ion-folder"></i>
          工作台
        </a>
        <a class="tab-item active" href="#/userinfo">
          <i class="icon ion-person"></i>
          我
        </a>
        <a class="tab-item" href="#/login">
          <i class="icon ion-log-out"></i>
          退出
        </a>
      </div>
    </div>
</ion-view>
</ion-view>